object FRepPrib2: TFRepPrib2
  Left = 320
  Top = 140
  BorderStyle = bsSingle
  Caption = #1054#1090#1095#1077#1090' '#1086' '#1087#1088#1080#1073#1099#1083#1080
  ClientHeight = 453
  ClientWidth = 757
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -19
  Font.Name = 'Times New Roman'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  WindowState = wsMaximized
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 21
  object Panel2: TPanel
    Left = 0
    Top = 0
    Width = 757
    Height = 412
    Align = alClient
    TabOrder = 0
    object fP: TfrPreview
      Left = 1
      Top = 73
      Width = 755
      Height = 338
      Align = alClient
      BevelOuter = bvNone
      BorderStyle = bsSingle
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Times New Roman'
      Font.Style = []
      ParentFont = False
      TabOrder = 1
      ScrollBars = ssBoth
    end
    object Panel4: TPanel
      Left = 1
      Top = 1
      Width = 755
      Height = 72
      Align = alTop
      BevelOuter = bvNone
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = 'Times New Roman'
      Font.Style = []
      ParentFont = False
      TabOrder = 0
      object frSpeedButton2: TfrSpeedButton
        Left = 4
        Top = 4
        Width = 24
        Height = 24
        Hint = 'Zoom to 100%'
        GroupIndex = 1
        Down = True
        Flat = True
        Enabled = False
        Glyph.Data = {
          F6000000424DF600000000000000760000002800000010000000100000000100
          0400000000008000000000000000000000001000000000000000000000000000
          80000080000000808000800000008000800080800000C0C0C000808080000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
          77777777777777777777770000000000000770FFFFFFFFFFFFF070F000000000
          00F070FFFFFFFFFFFFF070F00000000000F070FFFFFFFFFFFFF070F000000000
          00F070FFFFFFFFFFFFF070F00000000000F070FFFFFFFFFFFFF070F000000000
          00F070FFFFFFFFFFFFF077000000000000077777777777777777}
        GrayedInactive = False
        OnClick = frSpeedButton2Click
      end
      object frSpeedButton1: TfrSpeedButton
        Left = 28
        Top = 4
        Width = 24
        Height = 24
        Hint = 'Zoom to fit'
        GroupIndex = 1
        Flat = True
        Enabled = False
        Glyph.Data = {
          F6000000424DF600000000000000760000002800000010000000100000000100
          0400000000008000000000000000000000001000000000000000000000000000
          80000080000000808000800000008000800080800000C0C0C000808080000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
          7777777777777777777777000000000000077068686868686860708680000000
          8680706860FFFFF06860708680F444F08680706860FFFFF06860708680F44FF0
          8680706860FFFFF06860708680F444F08680706860FFFFF06860708680000000
          8680706868686868686077000000000000077777777777777777}
        GrayedInactive = False
        OnClick = frSpeedButton1Click
      end
      object frSpeedButton3: TfrSpeedButton
        Left = 52
        Top = 4
        Width = 24
        Height = 24
        Hint = 'Zoom to page width'
        GroupIndex = 1
        Flat = True
        Enabled = False
        Glyph.Data = {
          F6000000424DF600000000000000760000002800000010000000100000000100
          0400000000008000000000000000000000001000000000000000000000000000
          80000080000000808000800000008000800080800000C0C0C000808080000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
          77777777777777777777770000000000000774FFFFFFFFFFFFF074FFFF000000
          FFF074FFFFFFFFFFFFF074FFFF00000FFFF074FFFFFFFFFFFFF074FF4F0000FF
          4FF074F44FFFFFFF44F0744444F000F4444074F44FFFFFFF44F074FF4F00000F
          4FF074FFFFFFFFFFFFF077000000000000077777777777777777}
        GrayedInactive = False
        OnClick = frSpeedButton3Click
      end
      object frSpeedButton4: TfrSpeedButton
        Left = 88
        Top = 4
        Width = 24
        Height = 24
        Hint = 'First page'
        Flat = True
        Enabled = False
        Glyph.Data = {
          F6000000424DF600000000000000760000002800000010000000100000000100
          0400000000008000000000000000000000001000000000000000000000000000
          80000080000000808000800000008000800080800000C0C0C000808080000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
          7777777777777777777777777777777777777777777777777777777087777778
          0777777087777800077777708778000007777770880000000777777087780000
          0777777087777800077777708777777807777777777777777777777777777777
          7777777777777777777777777777777777777777777777777777}
        GrayedInactive = False
        OnClick = frSpeedButton4Click
      end
      object frSpeedButton5: TfrSpeedButton
        Left = 112
        Top = 4
        Width = 24
        Height = 24
        Hint = 'Previous page'
        Flat = True
        Enabled = False
        Glyph.Data = {
          F6000000424DF600000000000000760000002800000010000000100000000100
          0400000000008000000000000000000000001000000000000000000000000000
          80000080000000808000800000008000800080800000C0C0C000808080000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
          7777777777777777777777777777777777777777777777777777777777777807
          7777777777780007777777777800000777777778000000077777777778000007
          7777777777780007777777777777780777777777777777777777777777777777
          7777777777777777777777777777777777777777777777777777}
        GrayedInactive = False
        OnClick = frSpeedButton5Click
      end
      object frSpeedButton6: TfrSpeedButton
        Left = 136
        Top = 4
        Width = 24
        Height = 24
        Hint = 'Next page'
        Flat = True
        Enabled = False
        Glyph.Data = {
          F6000000424DF600000000000000760000002800000010000000100000000100
          0400000000008000000000000000000000001000000000000000000000000000
          80000080000000808000800000008000800080800000C0C0C000808080000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
          7777777777777777777777777777777777777777777777777777777770877777
          7777777770008777777777777000008777777777700000008777777770000087
          7777777770008777777777777087777777777777777777777777777777777777
          7777777777777777777777777777777777777777777777777777}
        GrayedInactive = False
        OnClick = frSpeedButton6Click
      end
      object frSpeedButton7: TfrSpeedButton
        Left = 160
        Top = 4
        Width = 24
        Height = 24
        Hint = 'Last page'
        Flat = True
        Enabled = False
        Glyph.Data = {
          F6000000424DF600000000000000760000002800000010000000100000000100
          0400000000008000000000000000000000001000000000000000000000000000
          80000080000000808000800000008000800080800000C0C0C000808080000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
          7777777777777777777777777777777777777777777777777777777087777778
          0777777000877778077777700000877807777770000000880777777000008778
          0777777000877778077777708777777807777777777777777777777777777777
          7777777777777777777777777777777777777777777777777777}
        GrayedInactive = False
        OnClick = frSpeedButton7Click
      end
      object frSpeedButton10: TfrSpeedButton
        Left = 196
        Top = 4
        Width = 24
        Height = 24
        Hint = 'Print report'
        Flat = True
        Enabled = False
        Glyph.Data = {
          F6000000424DF600000000000000760000002800000010000000100000000100
          0400000000008000000000000000000000001000000000000000000000000000
          80000080000000808000800000008000800080800000C0C0C000808080000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
          77777700000000000777707777777770707700000000000007070777777BBB77
          0007077777788877070700000000000007700777777777707070700000000007
          0700770FFFFFFFF070707770F00000F000077770FFFFFFFF077777770F00000F
          077777770FFFFFFFF07777777000000000777777777777777777}
        GrayedInactive = False
        OnClick = frSpeedButton10Click
      end
      object Label1: TLabel
        Left = 232
        Top = 8
        Width = 15
        Height = 19
        Caption = #1057' '
      end
      object Label2: TLabel
        Left = 448
        Top = 7
        Width = 19
        Height = 19
        Caption = #1055#1086
      end
      object Label4: TLabel
        Left = 16
        Top = 40
        Width = 49
        Height = 19
        Caption = #1043#1088#1091#1087#1087#1072
      end
      object BegDate: TDateTimePicker
        Left = 256
        Top = 3
        Width = 186
        Height = 27
        CalAlignment = dtaLeft
        Date = 39022.641194838
        Time = 39022.641194838
        DateFormat = dfLong
        DateMode = dmComboBox
        Kind = dtkDate
        ParseInput = False
        TabOrder = 1
        OnClick = BegDateChange
        OnCloseUp = BegDateChange
        OnChange = BegDateChange
      end
      object EndDate: TDateTimePicker
        Left = 472
        Top = 3
        Width = 186
        Height = 27
        CalAlignment = dtaLeft
        Date = 39022.641194838
        Time = 39022.641194838
        DateFormat = dfLong
        DateMode = dmComboBox
        Kind = dtkDate
        ParseInput = False
        TabOrder = 2
        OnClick = EndDateChange
        OnCloseUp = EndDateChange
        OnChange = EndDateChange
      end
      object SpeedButton1: TBitBtn
        Left = 445
        Top = 38
        Width = 27
        Height = 25
        TabOrder = 0
        OnClick = SpeedButton1Click
        Glyph.Data = {
          C2000000424DC200000000000000420000002800000010000000100000000100
          04000000000080000000120B0000120B0000030000000300000000000000FFFF
          FF00FF4800001111111111111111111111111111111111121111111111111111
          2111111111111111222111111111111112222111111111111222221111111111
          1122222211111111121112111111111112122111111111112221111111111111
          2111111111111112111111111111111111111111111111111111111111111111
          111111111111}
      end
      object ComboBox1: TComboBox
        Left = 72
        Top = 38
        Width = 369
        Height = 27
        Style = csDropDownList
        ItemHeight = 19
        TabOrder = 3
      end
    end
  end
  object Panel3: TPanel
    Left = 0
    Top = 412
    Width = 757
    Height = 41
    Align = alBottom
    TabOrder = 1
    object Label3: TLabel
      Left = 16
      Top = 8
      Width = 142
      Height = 21
      Caption = 'F11 - '#1056#1072#1089#1087#1077#1095#1072#1090#1072#1090#1100
    end
    object BitBtn1: TBitBtn
      Left = 560
      Top = 8
      Width = 113
      Height = 25
      Cancel = True
      Caption = #1043#1086#1090#1086#1074#1086
      ModalResult = 1
      TabOrder = 0
      Glyph.Data = {
        DE010000424DDE01000000000000760000002800000024000000120000000100
        0400000000006801000000000000000000001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        3333333333333333333333330000333333333333333333333333F33333333333
        00003333344333333333333333388F3333333333000033334224333333333333
        338338F3333333330000333422224333333333333833338F3333333300003342
        222224333333333383333338F3333333000034222A22224333333338F338F333
        8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
        33333338F83338F338F33333000033A33333A222433333338333338F338F3333
        0000333333333A222433333333333338F338F33300003333333333A222433333
        333333338F338F33000033333333333A222433333333333338F338F300003333
        33333333A222433333333333338F338F00003333333333333A22433333333333
        3338F38F000033333333333333A223333333333333338F830000333333333333
        333A333333333333333338330000333333333333333333333333333333333333
        0000}
      NumGlyphs = 2
    end
  end
  object RepIn: TfrReport
    Dataset = dsIn
    InitialZoom = pzDefault
    Preview = fP
    PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbHelp, pbExit]
    StoreInDFM = True
    OnUserFunction = RepInUserFunction
    Left = 40
    Top = 56
    ReportForm = {
      18000000920C0000180000FFFF01000100FFFFFFFFFF09000000340800009A0B
      00000000000000000000000000000000000000FFFF0000FFFFFFFF0000000000
      00000000000000030400466F726D000F000080DC000000780000007C0100002C
      010000040000000200C4000000050042616E6435000201000000004C000000F6
      020000120000003000040001000000000000000000FFFFFF1F00000000000000
      000000000000FFFF000000000002000000010000000000000001000000C80000
      00140000000100000000000002002D010000050042616E643600020100000000
      7C000000F6020000120000003000050001000000000000000000FFFFFF1F0000
      000004006473496E00000000000000FFFF000000000002000000010000000000
      000001000000C80000001400000001000000000000020092010000050042616E
      643700020100000000B4000000F6020000220000003000010001000000000000
      000000FFFFFF1F00000000000000000000000000FFFF00000000000200000001
      0000000000000001000000C800000014000000010000000000000200F7010000
      050042616E64380002010000000018000000F60200001E000000300000000100
      0000000000000000FFFFFF1F00000000000000000000000000FFFF0000000000
      02000000010000000000000001000000C8000000140000000100000000000000
      008102000005004D656D6F31000200100000004C000000480000001200000003
      000F0001000000000000000000FFFFFF1F2C02000000000001000C00C4E0F2E0
      20EFF0EEE4E0E6E800000000FFFF000000000002000000010000000005004172
      69616C000A000000020000000000020000000100020000000000FFFFFF000000
      00020000000000000000000303000005004D656D6F32000200CC0000004C0000
      003C0000001200000003000F0001000000000000000000FFFFFF1F2C02000000
      000001000400CAE0F22E00000000FFFF00000000000200000001000000000500
      417269616C000A000000020000000000020000000100020000000000FFFFFF00
      000000020000000000000000008603000005004D656D6F33000200080100004C
      000000100100001200000003000F0001000000000000000000FFFFFF1F2C0200
      0000000001000500D2EEE2E0F000000000FFFF00000000000200000001000000
      000500417269616C000A000000020000000000020000000100020000000000FF
      FFFF00000000020000000000000000000904000005004D656D6F340002004C02
      00004C0000004C0000001200000003000F0001000000000000000000FFFFFF1F
      2C02000000000001000500D1F3ECECE000000000FFFF00000000000200000001
      000000000500417269616C000A00000002000000000002000000010002000000
      0000FFFFFF00000000020000000000000000008D04000005004D656D6F350002
      00180200004C000000340000001200000003000F0001000000000000000000FF
      FFFF1F2C02000000000001000600CAEEEBE8F72E00000000FFFF000000000002
      00000001000000000500417269616C000A000000020000000000020000000100
      020000000000FFFFFF00000000020000000000000000001205000005004D656D
      6F36000200980200004C000000480000001200000003000F0001000000000000
      000000FFFFFF1F2C02000000000001000700CFF0E8E1FBEBFC00000000FFFF00
      000000000200000001000000000500417269616C000A00000002000000000002
      0000000100020000000000FFFFFF0000000002000000000000000000A5050000
      05004D656D6F37000200100000007C000000480000001200000003000F000100
      0000000000000000FFFFFF1F2C020000000000010015005B41736B496E636F6D
      2E2253454C4C44415445225D00000000FFFF0000000000020000000100000000
      0500417269616C0008000000000000000000020000000100020000000000FFFF
      FF00000000020000000000000000003306000005004D656D6F38000200CC0000
      007C0000003C0000001200000003000F0001000000000000000000FFFFFF1F2C
      020000000000010010005B41736B496E636F6D2E22415254225D00000000FFFF
      00000000000200000001000000000500417269616C0008000000000000000000
      020000000100020000000000FFFFFF0000000002000000000000000000C20600
      0005004D656D6F39000200080100007C000000100100001200000003000F0001
      000000000000000000FFFFFF1F2C020000000000010011005B41736B496E636F
      6D2E224E414D45225D00000000FFFF0000000000020000000100000000050041
      7269616C0008000000000000000000020000000100020000000000FFFFFF0000
      0000020000000000000000006207000006004D656D6F3130000200180200007C
      000000340000001200000003000F0001000000000000000000FFFFFF1F2C0200
      00000000010021005B41736B496E636F6D2E22434E54225D205B41736B496E63
      6F6D2E22495A4D225D00000000FFFF0000000000020000000100000000050041
      7269616C0008000000000000000000020000000100020000000000FFFFFF0000
      0000020000000000000000001E08000006004D656D6F31310002004C0200007C
      0000004C0000001200000003000F0001000000000000000000FFFFFF1F2C0200
      0000000001003D005B466F726D6174466C6F61742827232C2323302E2323272C
      5B41736B496E636F6D2E225052494345225D2A5B41736B496E636F6D2E22434E
      54225D295D00000000FFFF00000000000200000001000000000500417269616C
      0008000000000000000000020000000100020000000000FFFFFF000000000200
      0000000000000000CA08000006004D656D6F3132000200980200007C00000048
      0000001200000003000F0001000000000000000000FFFFFF1F2C020000000000
      01002D005B466F726D6174466C6F61742827232C2323302E2323272C5B41736B
      496E636F6D2E22494E434F4D45225D295D00000000FFFF000000000002000000
      01000000000500417269616C0008000000000000000000020000000100020000
      000000FFFFFF00000000020000000000000000004E09000006004D656D6F3138
      0002004C000000B4000000CC0100001200000003000000010000000000000000
      00FFFFFF1F2C02000000000001000500C8F2EEE3EE00000000FFFF0000000000
      0200000001000000000500417269616C000C0000000000000000000100000001
      00020000000000FFFFFF0000000002000000000000000000FF09000006004D65
      6D6F313900020084020000B40000005C00000012000000030000000100000000
      0000000000FFFFFF1F2C020000000000010032005B466F726D6174466C6F6174
      2827232C2323302E2323272C53554D285B41736B496E636F6D2E22494E434F4D
      45225D29295D00000000FFFF0000000000020000000100000000050041726961
      6C000C000000020000000000020000000100020000000000FFFFFF0000000002
      000000000000000000AC0A000006004D656D6F33330002001000000018000000
      D40100001E0000000300000001000000000000000000FFFFFF1F2C0200000000
      0001002E00CEF2F7E5F220EE20EFF0E8E1FBEBE820E7E020EFE5F0E8EEE42063
      205B42454728295D20EFEE205B454E4428295D00000000FFFF00000000000200
      000001000000000500417269616C000C00000002000000000000000000010002
      0000000000FFFFFF00000000020000000000000000006D0B000006004D656D6F
      313300020018020000B40000006C000000120000000300000001000000000000
      000000FFFFFF1F2C020000000000010042005B466F726D6174466C6F61742827
      232C2323302E2323272C53554D285B41736B496E636F6D2E225052494345225D
      2A5B41736B496E636F6D2E22434E54225D29295D00000000FFFF000000000002
      00000001000000000500417269616C000C000000020000000000020000000100
      020000000000FFFFFF0000000002000000000000000000F20B000006004D656D
      6F3137000200580000004C000000740000001200000003000F00010000000000
      00000000FFFFFF1F2C02000000000001000600C3F0F3EFEFE000000000FFFF00
      000000000200000001000000000500417269616C000A00000002000000000002
      0000000100020000000000FFFFFF0000000002000000000000000000830C0000
      06004D656D6F3230000200580000007C000000740000001200000003000F0001
      000000000000000000FFFFFF1F2C020000000000010012005B41736B496E636F
      6D2E22434E414D45225D00000000FFFF00000000000200000001000000000500
      417269616C0008000000000000000000020000000100020000000000FFFFFF00
      0000000200000000000000FEFEFF000000000000000000000000}
  end
  object AskIncom: TIBQuery
    Database = DM.Base
    Transaction = DM.Trans
    BufferChunks = 1000
    CachedUpdates = False
    SQL.Strings = (
      
        'select S.SELLDATE, P.ART, P.NAME, SD.CNT, SD.PRICE, SD.INCOME  f' +
        'rom SELL S INNER JOIN SELLDET SD ON SD.IDSELL = S.IDSELL INNER J' +
        'OIN PRODUCT P ON P.IDPRODUCT = SD.IDPRODUCT ORDER BY S.SELLDATE')
    Left = 184
    Top = 40
  end
  object AskOutcome: TIBQuery
    Database = DM.Base
    Transaction = DM.Trans
    BufferChunks = 1000
    CachedUpdates = False
    SQL.Strings = (
      'Select OC.NAME, O.OUTDATE, O.PRICE'
      'from OUTCOME O INNER JOIN OUTCAT OC ON O.IDOUTCAT = OC.IDOUTCAT')
    Left = 184
    Top = 104
  end
  object AskSum: TIBQuery
    Database = DM.Base
    Transaction = DM.Trans
    BufferChunks = 1000
    CachedUpdates = False
    SQL.Strings = (
      
        'select (select sum(PRICE) from OUTCOME) as O, (select sum(INCOME' +
        ') from SELLDET) as I from STUB')
    Left = 184
    Top = 152
  end
  object dsIn: TfrDBDataSet
    CloseDataSource = True
    DataSet = AskIncom
    Left = 152
    Top = 40
  end
  object dsOut: TfrDBDataSet
    CloseDataSource = True
    DataSet = AskOutcome
    Left = 152
    Top = 104
  end
  object dsSum: TfrDBDataSet
    CloseDataSource = True
    DataSet = AskSum
    Left = 152
    Top = 152
  end
  object ApplicationEvents1: TApplicationEvents
    OnMessage = ApplicationEvents1Message
    Left = 392
    Top = 96
  end
  object AskZCome: TIBQuery
    Database = DM.Base
    Transaction = DM.Trans
    BufferChunks = 1000
    CachedUpdates = False
    SQL.Strings = (
      'Select OC.NAME, O.OUTDATE, O.PRICE'
      'from OUTCOME O INNER JOIN OUTCAT OC ON O.IDOUTCAT = OC.IDOUTCAT')
    Left = 272
    Top = 104
  end
  object dsZ: TfrDBDataSet
    CloseDataSource = True
    DataSet = AskZCome
    Left = 232
    Top = 104
  end
  object askCAT: TIBQuery
    Database = DM.Base
    Transaction = DM.Trans
    BufferChunks = 1000
    CachedUpdates = False
    SQL.Strings = (
      'select * from CAT')
    Left = 56
    Top = 184
  end
end
